package com.glodon.utils.util;

import java.io.Serializable;

/**
 * datatable请求参数
 * Created by kongdm-a on 2014/6/28.
 */

public class DataTableParameter implements Serializable {

    private static final long serialVersionUID = -255466980257954816L;

    /**
     * DataTable请求服务器端次数
     */
    private String sEcho;

    /**
     * 过滤文本
     */
    private String sSearch;

    /**
     * 是否使用正则表达式
     */
    private Boolean bRegex;

    /**
     * 每页显示的数量
     */
    private int iDisplayLength;

    /**
     * 分页时起始位置
     */
    private int iDisplayStart;

    /**
     * 列数
     */
    private int iColumns;

    /**
     * 逗号分割所有的列
     */
    private String sColumns;

    /**
     * 列名
     */
    private  String[] mDataProps;

    /**
     * 列过滤
     */
    private String[] sSearchs;

    /**
     * 列正则
     */
    private Boolean[] bRegexs;

    /**
     * 列可过滤
     */
    private Boolean[] bSearchables;

    /**
     * 列可排序
     */
    private Boolean[] bSortables;

    /**
     * 排序列数
     */
    private Integer iSortingCols;

    /**
     * 排序列索引
     */
    private Integer[] iSortCols;

    /**
     * 排序列方向
     */
    private String[] sSortDirs;

    public String getsEcho() {
        return sEcho;
    }

    public void setsEcho(String sEcho) {
        this.sEcho = sEcho;
    }

    public String getsSearch() {
        return sSearch;
    }

    public void setsSearch(String sSearch) {
        this.sSearch = sSearch;
    }

    public int getiDisplayLength() {
        return iDisplayLength;
    }

    public void setiDisplayLength(int iDisplayLength) {
        this.iDisplayLength = iDisplayLength;
    }

    public int getiDisplayStart() {
        return iDisplayStart;
    }

    public void setiDisplayStart(int iDisplayStart) {
        this.iDisplayStart = iDisplayStart;
    }

    public int getiColumns() {
        return iColumns;
    }

    public void setiColumns(int iColumns) {
        this.iColumns = iColumns;
    }

    public String getsColumns() {
        return sColumns;
    }

    public void setsColumns(String sColumns) {
        this.sColumns = sColumns;
    }

    public String[] getmDataProps() {
        return mDataProps;
    }

    public void setmDataProps(String[] mDataProps) {
        this.mDataProps = mDataProps;
    }

    public String[] getsSearchs() {
        return sSearchs;
    }

    public void setsSearchs(String[] sSearchs) {
        this.sSearchs = sSearchs;
    }

    public Boolean[] getbRegexs() {
        return bRegexs;
    }

    public void setbRegexs(Boolean[] bRegexs) {
        this.bRegexs = bRegexs;
    }

    public Boolean[] getbSearchables() {
        return bSearchables;
    }

    public void setbSearchables(Boolean[] bSearchables) {
        this.bSearchables = bSearchables;
    }

    public Boolean[] getbSortables() {
        return bSortables;
    }

    public void setbSortables(Boolean[] bSortables) {
        this.bSortables = bSortables;
    }

    public Integer getiSortingCols() {
        return iSortingCols;
    }

    public void setiSortingCols(Integer iSortingCols) {
        this.iSortingCols = iSortingCols;
    }

    public Integer[] getiSortCols() {
        return iSortCols;
    }

    public void setiSortCols(Integer[] iSortCols) {
        this.iSortCols = iSortCols;
    }

    public String[] getsSortDirs() {
        return sSortDirs;
    }

    public void setsSortDirs(String[] sSortDirs) {
        this.sSortDirs = sSortDirs;
    }

    public Boolean getbRegex() {
        return bRegex;
    }

    public void setbRegex(Boolean bRegex) {
        this.bRegex = bRegex;
    }
}
